package com.example.musicrecommend.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 题目
 * @TableName question
 */
@TableName(value ="question")
@Data
public class Question implements Serializable {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 题目类型：choose/blanking/subjective
     */
    private String questionType;

    /**
     * 题目内容
     */
    private String questionContent;

    /**
     * 知识点
     */
    private String knowledgePoint;

    /**
     * 难易度：0简单，1中等，3困难
     */
    private Integer difficulty;

    /**
     * 章节
     */
    private String chapter;

    /**
     * 错误率
     */
    private String errorRate;

    /**
     * 易错点
     */
    private String errorProne;

    /**
     * 贴图
     */
    private String texture;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}